﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TanHuan.Authorize.Biz;
using TanHuan.Authorize.Model;

namespace TanHuan.Authorize.Web.Controllers
{
    public class MainController : Controller
    {
        AuthFunctionBiz afBiz = new AuthFunctionBiz();

        //
        // GET: /Main/

        public ActionResult Index()
        {
            ViewBag.afList = afBiz.GetAuthFunctionByParentUnid(0);
            return View();
        }

    }
}
